<?php /* Smarty version Smarty-3.1.12, created on 2013-05-11 20:20:12
         compiled from "D:\wamp\www\acps_new\templates\general\login.tpl" */ ?>
<?php /*%%SmartyHeaderCode:893550ab6493b4a6e7-70877027%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd520f24186d6e4f71e68b427d4af499556348d66' => 
    array (
      0 => 'D:\\wamp\\www\\acps_new\\templates\\general\\login.tpl',
      1 => 1367525429,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '893550ab6493b4a6e7-70877027',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_50ab6493b4bb12_21272558',
  'variables' => 
  array (
    'data' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_50ab6493b4bb12_21272558')) {function content_50ab6493b4bb12_21272558($_smarty_tpl) {?><script type="text/javascript">
    
    $(document).ready(function() {
        $("#username").focus();
    });
    
</script>
<?php echo $_smarty_tpl->getSubTemplate ($_smarty_tpl->tpl_vars['data']->value['pathToError'], $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<form class="loginForm" action="<?php echo $_smarty_tpl->tpl_vars['data']->value['root'];?>
" method="post" onsubmit="return checkLogin($('#username').val(),$('#password').val())">
    <h2>Login page</h2>
    <br/>
    <br/>
    <table>
        <tr>
            <td><label for="username">Username</label></td>
            <td><input name="username" id="username" type="text" value="" /></td>
        </tr>
        <tr>
            <td><label for="password">Password</label></td>
            <td><input name="password" id="password" type="password" value="" /></td>
        </tr>
        
        <tr>
            <td>
                <input type="hidden" value="login" name="action" />
                <input type="hidden" value=<?php echo $_smarty_tpl->tpl_vars['data']->value['toTask'];?>
 name="goToTask" />
            </td>
            <td><input type="submit" value="Login" name="login" /></td>
        </tr>
    </table>
</form><?php }} ?>